package com.drama.api.company.video.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(description = "接收参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class CompanyVideoAddVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "视频名称",required = true)
    @NotNull(message = "视频名称不能为空!")
    private String videoName;
    @ApiModelProperty(value = "视频文件ID不能为空",required = true)
    @NotNull(message = "视频文件ID不能为空!")
    private String videoFileId;
    @ApiModelProperty(value = "视频原地址URL",required = true)
    @NotNull(message = "视频原地址URL!")
    private String videoOldUrl;
}
